package file;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Home-pc
 * Date: 2023-10-02
 * Time: 11:16
 */
//目录的创建
// mkdir 一次只能创建一层目录.  mkdirs 可以一次创建多级目录
public class Demo5 {
    public static void main(String[] args) throws InterruptedException {
        File file=new File("./111");

        file.mkdir();
        Thread.sleep(5000);
        File file1=new File("./222/333/444");
        file1.mkdirs();
    }
}
